<%@ page import="java.sql.*,javax.naming.*,javax.sql.*"%>
<%!Connection conn = null;

	PreparedStatement pstmt = null;

	Statement stmt;%>
<%
	try {
		Class.forName("oracle.jdbc.driver.OracleDriver");

		Context ctx = new InitialContext();
		DataSource ds = (DataSource) ctx.lookup("java:jdbc/WMPRD_WMWHSE1");
		conn = ds.getConnection();

	} catch (SQLException sqle) {
		out.println("SQL Exception : " + sqle);
	}
%>
